﻿DECLARE @dbName VARCHAR (900)

SET @dbName = DB_NAME ()

EXEC ('ALTER DATABASE ' + @dbName + ' COLLATE Modern_Spanish_CI_AI')   